package com.tcu.util;

import org.joda.time.DateTime;

import java.util.UUID;

public class FileUtil {
    public static String getFileName(String name){
        String uuid = UUID.randomUUID().toString().replaceAll("-", "");
        String datePath = new DateTime().toString("yyyy/MM/dd");
        return datePath+"/"+uuid+name;
    }
}
